package com.wnxy.portal.common.constant;

public interface RedisConstant {
    /**
     * 首页类别缓存key
     */
    String BOOK_TYPE_LIST = "book:type:list";
    /**
     * 首页top10缓存
     */
    String BOOK_TOP10 = "book:top10";

    /**
     * 用户token的前缀
     */
    String USER_TOKEN_PREFIX = "user:token:";

    /**
     * 用户购物车前缀
     */
    String USER_CART_PREFIX = "user:cart:";

    /**
     * Redis的set集合缓存省份
     */
    String PROVINCES = "provinces";

    /**
     * 缓存t_china表的数据：省市区
     */
    String CHINA_CACHE = "china_cache";

    /**
     * 库存Redis到Redis的key
     */
    String STORAGE = "storage";
}
